package VolatileDemo;

public class Money {
    // volatile方法
    public static volatile int money = 100000;

    /*// synchronized
    public static  final Object lock = new Object();*/
}
